import { Base } from '../../../../utils/base.js';
class vacation extends Base {
  constructor() {
    super();
  }

  
  getDetail(place, callback) {
    var param = {
      url: '/api/work/work/start_detail',
      type: "get",
      data: place,
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }
  workAgree(place, callback) {
    var param = {
      url: '/api/work/work/workAgree',
      type: "get",
      data: place,
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }
  workDisagree(place, callback) {
    var param = {
      url: '/api/work/work/workDisagree',
      type: "get",
      data: place,
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }


};
export { vacation };